We present an analysis of the production and two-photon decay of the lightest CP-even Higgs boson of the Minimal Supersymmetric Standard Model (MSSM) at the Large Hadron Collider (LHC). A rather general model is considered, without supergravity constraints. All parameters of the model are taken into account, we especially study the dependence of the cross section on the squark masses, on the bilinear parameter $\mu$ and the trilinear supersymmetry breaking parameter $A$. Non-zero values of these parameters lead to significant mixing in the squark sector, and, thus, affect the masses of Higgs bosons through radiative corrections, as well as their couplings to squarks. The cross section times the two-photon branching ratio of $h^0$ is of the order of 15--25~fb in much of the parameter space that remains after imposing the present experimental constraints on the parameters.